package com.woniu.service;

import com.woniu.entity.PageResult;
import com.woniu.pojo.Sign;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.vo.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author doujiao
 * @since 2022-10-14
 */
public interface ISignService extends IService<Sign> {

    PageResult queryByPage(Long currentPage, Long pageSize, QuerySignVo querySignVo);

    SignVo queryById(Long id);

    Boolean edit(SignEditVo signEditVo);

    PageResult queryRecordByPage(Long currentPage, Long pageSize, QuerySignRecordVo querySignRecordVo);

    SignRecordVo queryRecordById(Long id);

    Boolean editRecord(SignRecordEditVo signRecordEditVo);

    Boolean passAudit(SignRecordEditVo signRecordEditVo);

    Boolean refuse(SignRecordEditVo signRecordEditVo);
}
